Client::Interact: Use InteractAction enum instead of numeric constants
authorANAND <ClobberXD@gmail.com>
Sun, 4 Aug 2019 04:53:59 +0000 (10:23 +0530)
committerSmallJoker <mk939@ymail.com>
Wed, 7 Aug 2019 17:21:14 +0000 (19:21 +0200)
commite788ee283fe7eb8151898916f72c2cf803255fa4
tree29e03adb9208c5371f969dd2c12535f2fe490e72
parente462a9a5ef46776d974203bb44e0b89e8c980b29
Client::Interact: Use InteractAction enum instead of numeric constants

This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
src/client/client.cpp
src/client/client.h
src/client/game.cpp
src/network/networkprotocol.h
src/network/serverpackethandler.cpp