Fixed warning

This commit is contained in:
jsalmon3 2003-02-08 06:55:01 +00:00
parent 796b78aa95
commit adac968ea1

View file

@ -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;
}