Take another look at the sentence:
Whining in a pitiful manner, a participle phrase, comes right before Rodney, an illogical target. Rodney is warm and dry in the house, so what does he have to be whining about? It's the poor, wet dog who is crying to come in!
Before you continue, review the rules for misplaced and dangling modifiers.