Use valptr for ehostage.cpp

This commit is contained in:
Kp 2015-07-12 01:04:18 +00:00
parent fdd2356eac
commit aac7575b8f

View file

@ -154,7 +154,7 @@ static int PlaceHostage() {
}
if (hostage_object_is_valid( Cur_object_index ) ) {
CurrentHostageIndex = get_hostage_id(&Objects[Cur_object_index]);
CurrentHostageIndex = get_hostage_id(vcobjptr(Cur_object_index));
} else {
Int3(); // Get John! (Object should be valid)
i=hostage_object_is_valid( Cur_object_index ); // For debugging only