mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 21:32:02 +00:00
Remove an old-style-cast.
This commit is contained in:
parent
cd36cf8c90
commit
4d0b299dcc
@ -1404,7 +1404,8 @@ void tlobby_main::process_room_join(const config &data)
|
||||
const std::string& room = data["room"];
|
||||
const std::string& player = data["player"];
|
||||
room_info* r = lobby_info_.get_room(room);
|
||||
DBG_LB << "room join: " << room << " " << player << " " << (void*)r << "\n";
|
||||
DBG_LB << "room join: " << room << " " << player << " "
|
||||
<< static_cast<void*>(r) << "\n";
|
||||
|
||||
if (r) {
|
||||
if (player == preferences::login()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user