Index: src/person.cpp
===================================================================
--- src/person.cpp (revision 1356)
+++ src/person.cpp (working copy)
@@ -1063,8 +1063,7 @@
AnimateResult Guest::EdgeOfWorldOnAnimate()
{
/* If the guest ended up off-world, quit. */
- if (this->x_vox < 0 || this->x_vox >= _world.GetXSize() * 256 ||
- this->y_vox < 0 || this->y_vox >= _world.GetYSize() * 256) {
+ if (this->x_vox < 0 || this->x_vox >= _world.GetXSize() || this->y_vox < 0 || this->y_vox >= _world.GetYSize()) {
return OAR_DEACTIVATE;
}