summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-22 18:53:56 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-22 18:53:56 +0100
commite97d5a38f868202b409b36acccd92676dbac86df (patch)
treea45ff47ba14ec22ff9d9235831e29f3f909f41b1 /src/net
parent1c392d41f9004c3bf0b8455465ec62fe89109a63 (diff)
downloadmana-e97d5a38f868202b409b36acccd92676dbac86df.tar.gz
mana-e97d5a38f868202b409b36acccd92676dbac86df.tar.bz2
mana-e97d5a38f868202b409b36acccd92676dbac86df.tar.xz
mana-e97d5a38f868202b409b36acccd92676dbac86df.zip
Fixed warning about passing NULL for a non-pointer
Encountered by z0ro.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/equipmenthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/equipmenthandler.cpp b/src/net/equipmenthandler.cpp
index 39b6e8cd..580cef6b 100644
--- a/src/net/equipmenthandler.cpp
+++ b/src/net/equipmenthandler.cpp
@@ -155,7 +155,7 @@ void EquipmentHandler::handleMessage(MessageIn *msg)
switch (item->getId()) {
case 529:
case 1199:
- player_node->mEquipment->setArrows(NULL);
+ player_node->mEquipment->setArrows(0);
break;
case 521:
case 522: