mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8820] drop unneded check at sessionupate
session will never get NULL there
This commit is contained in:
parent
35d64c8d62
commit
5475430235
2 changed files with 1 additions and 5 deletions
|
|
@ -2050,10 +2050,6 @@ void World::UpdateSessions( uint32 diff )
|
||||||
{
|
{
|
||||||
next = itr;
|
next = itr;
|
||||||
++next;
|
++next;
|
||||||
|
|
||||||
if(!itr->second)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
///- and remove not active sessions from the list
|
///- and remove not active sessions from the list
|
||||||
if(!itr->second->Update(diff)) // As interval = 0
|
if(!itr->second->Update(diff)) // As interval = 0
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8819"
|
#define REVISION_NR "8820"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue