Fixed warning
This commit is contained in:
parent
796b78aa95
commit
adac968ea1
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
//
|
||||
/**@name spells.c - The spell cast action. */
|
||||
//
|
||||
// (c) Copyright 1998-2002 by Vladi Belperchinov-Shabanski and Lutz Sammer
|
||||
// (c) Copyright 1998-2003 by Vladi Belperchinov-Shabanski and Lutz Sammer
|
||||
//
|
||||
// FreeCraft is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published
|
||||
|
@ -1940,7 +1940,7 @@ global int SpellCast(Unit * unit, const SpellType * spell, Unit * target,
|
|||
break;
|
||||
}
|
||||
|
||||
DebugCheck(unit->Mana < 0);
|
||||
DebugCheck((char)unit->Mana < 0);
|
||||
return repeat;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue