aboutsummaryrefslogtreecommitdiff
path: root/src/receiving.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-08-19 22:41:08 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-08-19 22:41:08 -0300
commitd55b9473ec498ae181b3c91583c6950e4c3bb7f2 (patch)
tree6f0b2dc1504c037f774868b549fe00fc2945b99d /src/receiving.cc
parentb2a9d2cb961fabc1ca05052a645d90663d8e0a92 (diff)
downloadgame-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.tar.gz
game-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.zip
fix a problem with monsters freezing after failing to attack
Diffstat (limited to 'src/receiving.cc')
-rw-r--r--src/receiving.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/receiving.cc b/src/receiving.cc
index ddaee44..7546396 100644
--- a/src/receiving.cc
+++ b/src/receiving.cc
@@ -269,10 +269,9 @@ void CMoveObject(TConnection *Connection, TReadBuffer *Buffer){
return;
}
- // TODO(fusion): `RNum` usage in this context will only be used inside
- // `GetObject` for indexing containers. For some reason I thought the
- // Z coordinate was also used for that. Perhaps they're set to the same
- // value.
+ // TODO(fusion): `RNum` is only used inside `ToDoMove` > `GetObject` to index
+ // into containers. For some reason I thought the Z coordinate was also used
+ // for that. Perhaps they're set to the same value.
if(OrigX != 0xFFFF){
RNum = 1;
}