more fixes to the review
This commit is contained in:
@@ -161,11 +161,8 @@ int WEventDamage::getValue()
|
||||
|
||||
Targetable * WEventLife::getTarget(int target)
|
||||
{
|
||||
switch (target)
|
||||
if (target)
|
||||
{
|
||||
case TARGET_TO:
|
||||
return player;
|
||||
case TARGET_FROM:
|
||||
return player;
|
||||
}
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user